package com.hs.sfzy.mapper;

import com.hs.sfzy.entity.MyNotice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MyNoticeMapper {
    int insert(MyNotice myNotice);
    int deleteById(Integer id);
    int updateById(MyNotice myNotice);
    MyNotice selectById(Integer id);


    List<MyNotice> getMyNoticeList(MyNotice myNotice);

    List<MyNotice> getByUserId(Integer userId);
}
